#
# Be sure to run `pod lib lint HHCommonPod.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
s.name             = 'HHCommonPod'
s.version          = '0.0.1'
s.summary          = 'A short description of HHCommonPod.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

s.description      = <<-DESC
TODO: Add long description of the pod here.
DESC

s.homepage         = 'https://gitee.com/hb789/hhcommon-pod'
# s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license          = { :type => 'MIT', :file => 'LICENSE' }
s.author           = { 'hebing' => '1101918842@qq.com' }
s.source           = { :git => 'https://gitee.com/hb789/hhcommon-pod.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

s.ios.deployment_target = '9.0'

s.source_files = 'HHCommonPod/*'

# s.resource_bundles = {
#   'HHCommonPod' => ['HHCommonPod/Assets/*.png']
# }

# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'


s.subspec 'AFNetworking' do |ss|
ss.source_files = 'HHCommonPod/Frameworks/AFNetworking/*.{h,m}'
ss.vendored_frameworks = 'HHCommonPod/Frameworks/AFNetworking/*.framework'
end

s.subspec 'FMDB' do |ss|
ss.source_files = 'HHCommonPod/Frameworks/FMDB/*.{h,m}'
ss.vendored_frameworks = 'HHCommonPod/Frameworks/FMDB/*.framework'
end

s.subspec 'Masonry' do |ss|
ss.source_files = 'HHCommonPod/Frameworks/Masonry/*.{h,m}'
ss.vendored_frameworks = 'HHCommonPod/Frameworks/Masonry/*.framework'
end

s.subspec 'SVProgressHUD' do |ss|
ss.source_files = 'HHCommonPod/Frameworks/SVProgressHUD/*.{h,m}'
ss.vendored_frameworks = 'HHCommonPod/Frameworks/SVProgressHUD/*.framework'
end

s.subspec 'MJRefresh' do |ss|
ss.source_files = 'HHCommonPod/Frameworks/MJRefresh/*.{h,m}'
ss.vendored_frameworks = 'HHCommonPod/Frameworks/MJRefresh/*.framework'
end

end
